/*
 * @Author: Simon 1958058172@qq.com
 * @Date: 2025-08-18 19:26:38
 * @LastEditors: Simon 1958058172@qq.com
 * @LastEditTime: 2025-08-18 19:27:17
 * @FilePath: \java.1212\csdn\yichang\li04\Test.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package csdn.yichang.li04;

public class Test {
    public static void main(String[] args) {
        System.out.println("hello");
        test1();
        System.out.println("world");
    }

    public static void test1(){
        test2();
    }
    public static void test2(){
        test3();
    }
    public static void test3(){
    //下面代码会抛出异常
    int a = 1/0;
    }

}